-
Notifications
You must be signed in to change notification settings - Fork 93
Introduce a translation:check-missing command #403
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
I don't believe the PHPStan error is introduced by my pull request.
I believe this is caused by an ignored error (in |
This prevents issues in CI with a smaller console width.
Looks like it's removed as part of #396 here: https://github.com/php-translation/symfony-bundle/pull/396/files#diff-cbcd91b5fa0a393ebd972f66cc47dc90 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Except the name of the command, LGTM 👍 thanks for your work!
@php-translation/deciders ok for you? We could target a 0.12 with this new command? |
protected function configure(): void | ||
{ | ||
$this | ||
->setName(self::$defaultName) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think it's not needed when defining the static property.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I believe you are right, the Symfony documentation example also doesn't call setName()
anymore.
However, I copied this from the other commands in this bundle which also call ->setName(self::$defaultName)
. So perhaps this should be fixed for all commands at once in a separate PR.
Are we waiting for more approvals, or is there anything I should do to get this merged? :) |
@nicwortel it's merged, we will release the 0.12 as soon as possible 😉 |
Nice 👍 I will try to find some time to create a PR for https://github.com/php-translation/documentation. |
Thanks! |
Fixes #388.